package com.itheima.config;

import com.itheima.controller.EmpController;
import org.dom4j.io.SAXReader;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CommonConfig {


    @Bean
    public SAXReader saxReader(EmpController empController){
        System.out.println("empController = " + empController);
        return new SAXReader();
    }


}
